max_score = -1
max_student =""

with open("data.txt", "r", encoding="gbk") as f:
    for line in f:
        line = line.strip()  # 去除换行符和空格
        if not line:
            continue
        name, s2 = line.split(":")  # 假设格式为“姓名 系名 分数”
        # 分割成  李涵剑  和   经济191,430
        _, score = s2.split(",")
        # 经济191,430 分割成    经济191  和 430
        score=int(score)
        if score > max_score:
            max_score = score
            max_student = name

print(f"{max_student}:{max_score}")